package com.flyco.modules.stm.vo;

import java.util.List;
import com.flyco.modules.stm.entity.StmStoreMessage;
import com.flyco.modules.stm.entity.StmStoreMessageRe;
import com.flyco.modules.stm.entity.StmStoreMessageRead;
import lombok.Data;
import com.flyco.poi.excel.annotation.Excel;
import com.flyco.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @Description: 店铺通知表
 * @Author: flyco
 * @Date:   2022-10-09
 * @Version: V1.0
 */
@Data
@ApiModel(value="stm_store_messagePage对象", description="店铺通知表")
public class StmStoreMessagePage {

	/**id*/
	private Long id;
	/**标题*/
  	@Excel(name = "标题", width = 15)
	private String title;
	/**内容*/
  	@Excel(name = "内容", width = 15)
	private String content;
	/**0-未发布 1-已发布*/
  	@Excel(name = "0-未发布 1-已发布", width = 15)
	private Integer status;
	/**开始时间*/
  	@Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date startTime;
	/**结束时间*/
  	@Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date endTime;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
  	@Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	@ExcelCollection(name="店铺通知关联表")
	@ApiModelProperty(value = "店铺通知关联表")
	private List<StmStoreMessageRe> stmStoreMessageReList;
	@ExcelCollection(name="用户通知已读标记表")
	@ApiModelProperty(value = "用户通知已读标记表")
	private List<StmStoreMessageRead> stmStoreMessageReadList;
	
}
